package com.example.seckill.annotation;

import java.lang.annotation.*;

/**
 * @Author: caowj1217
 * @Date: 2021/8/9上午10:11
 * @Description:
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CacheLock {

    String lockedPrefix() default "";
    long timeOut() default 2000;
    int expireTime() default 1000;
}
